﻿using SheepStorage.Domain.DTO.Output;
using SheepStorage.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepStorage.Service.Interface
{
    /// <summary>
    /// 品相测定服务接口
    /// </summary>
    public interface ISheepConditionService
    {
        /// <summary>
        /// 添加品相测定
        /// </summary>
        /// <param name="sheepCondition"></param>
        /// <returns></returns>
        Task<int> AddSheepCondition(SheepCondition  sheepCondition);

        /// <summary>
        /// 获取品相测定列表
        /// </summary>
        /// <param name="overBit"></param>
        /// <param name="SheepType"></param>
        /// <param name="SheepConditionSex"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        Task<PageOutput<SheepCondition>> GetSheepCondition(string? overBit, int SheepType, int SheepConditionSex, int pageIndex, int pageSize);


        /// <summary>
        /// 删除品相测定
        /// </summary>
        /// <param name="SheepConditionId"></param>
        /// <returns></returns>
        int DelSheepCondition(int SheepConditionId);


        /// <summary>
        /// 获取品相测定详情
        /// </summary>
        /// <param name="SheepConditionId"></param>
        /// <returns></returns>
        SheepCondition GetFtSheepCondition(int SheepConditionId);

        /// <summary>
        /// 更新品相测定
        /// </summary>
        /// <param name="sheepCondition"></param>
        /// <returns></returns>
        Task<int> UpdaSheepCondition(SheepCondition sheepCondition);

        /// <summary>
        /// 批量删除品相测定
        /// </summary>
        /// <param name="SheepConditionIds"></param>
        /// <returns></returns>
        int DelRangeSheepCondition(List<int> SheepConditionIds);
    }
}
